import org.molamil.acto.commands.CommandMaster;
import org.molamil.acto.commands.factory.CommandFactory;

/**
 * @author Jorge Hernandez
 */
interface org.molamil.acto.commands.controller.CommandsController extends CommandFactory {
	
	
	public function execute(name:String, params:Object):CommandMaster;
	
	function dispatchEvent(eventObj:Object):Void;
	
	function addEventListener(event:String, handler):Void;
	
	function removeEventListener(event:String, handler):Void;
	
	function addCmdListener(name:String, event:String, handler):Void;
		function removeCmdListener(name:String, event:String, handler):Void;
	
	
}
